This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
Sub Initialize
Dim workspace As New notesuiworkspace
Dim uidoc As notesuidocument
Dim session As New NotesSession
Dim db As NotesDatabase
Dim collection As NotesDocumentCollection
Dim doc As NotesDocument
Dim objIE
Set db = session.CurrentDatabase
Set collection = db.UnprocessedDocuments
If (Not collection Is Nothing) Then
For i = 1 To collection.Count
Set doc = collection.GetNthDocument(i)
doc.RemoveItem("$KeepPrivate")
Set objIE = CreateObject("com.newgen.omni.SaveDocInODLotusAgent")
objIE.SaveDoc doc.NoteID, "sanjeevk.nsf"
objIE = Null
Next
End If
End Sub
There you can see, i am calling the activex dll whose code lines are written in the post
Feedback response number WEBB8W6BNH created by ~Zach Desgerobergikle on 07/13/2012